biz.channels.{id}
查询指定渠道信息
- 请求路由:
biz.channels.{id}- 交互模型:
Request Response- 访问限制: 无
请求
RSocket.rr({
"route" : "CH1002"
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
id | String | 是 | 渠道id |
返回
渠道信息
{
"crBy" : "admin@mzd",
"upBy" : "admin@mzd",
"crDate" : "2023-08-01T08:45:37.753Z",
"upDate" : "2023-08-01T08:46:09.070797Z",
"tenantId" : "mzd",
"id" : "CH1002",
"name" : "测试渠道",
"type" : "0",
"creditCode" : "11111111",
"mobile" : "18296888015",
"address" : "深南花园",
"state" : true,
"independentAccount" : { },
"principalInfo" : {
"principal" : "555@mzd",
"principalName" : "方",
"principalMobile" : "18296888015",
"certificateType" : 1,
"idNumber" : "88888888"
},
"bankAccounts" : { },
"attachments" : [ ]
}
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
id | String | |
name | String | 渠道名称 |
type | String | 渠道类型 |
creditCode | String | 信用代码 |
mobile | String | 联系电话 |
address | String | 地址 |
state | Boolean | 是否启用 |
inviteCode | String | 邀请码 |
appointCompanies | String[] | 指定承运商 |
independentAccount | Object | 分账设置信息 |
independentAccount.period | Number | 分账周期:T+0、T+1、T+2、T+7、T+30(加几值为几,例:T+0 值为0) |
independentAccount.suspensionOfDistribution | Boolean | 暂停分账 true:暂停 false:可分账 |
independentAccount.settlementOfDriverCharges | Boolean | 是否委托平台自动结算司机费用 |
independentAccount.acceptorType | String | 分账对象 0 - 平台 1 - 渠道 |
independentAccount.independentAccountType | String | 分账类型 0-比例 1-指定金额 |
independentAccount.independentAccountValue | Object | 分账值,比例和金额都写三种币种信息 RMB HKD MOP |
independentAccount.collectionAccountInformation | Object | 收款账户信息 |
independentAccount.collectionAccountInformation.appId | String | 公众号appId |
independentAccount.collectionAccountInformation.accountIdentification | String | 账户标识 |
independentAccount.collectionAccountInformation.name | String | 名字 |
independentAccount.collectionAccountInformation.type | String | 分账接收方类型 MERCHANT_ID:商户号 PERSONAL_OPENID:个人openid |
discountInfo | Object | 折扣信息 |
discountInfo.disable | Boolean | 启用状态 true-禁用 false-启用 |
discountInfo.failureTime | String | 失效时间 |
discountInfo.bus | Object | 巴士折扣信息 |
discountInfo.bus.type | String | 折扣类型 0-比例 1-指定金额 |
discountInfo.bus.discountValue | Object | 折扣值 RMB HKD MOP |
discountInfo.cc | Object | 包车折扣信息 |
discountInfo.cc.type | String | 折扣类型 0-比例 1-指定金额 |
discountInfo.cc.discountValue | Object | 折扣值 RMB HKD MOP |
discountInfo.sc | Object | 专线折扣信息 |
discountInfo.sc.type | String | 折扣类型 0-比例 1-指定金额 |
discountInfo.sc.discountValue | Object | 折扣值 RMB HKD MOP |
discountInfo.rs | Object | 拼车折扣信息 |
discountInfo.rs.type | String | 折扣类型 0-比例 1-指定金额 |
discountInfo.rs.discountValue | Object | 折扣值 RMB HKD MOP |
principalInfo | Object | 负责人信息 |
principalInfo.principal | String | 负责人username |
principalInfo.principalName | String | 负责人姓名 |
principalInfo.principalMobile | String | 负责人电话 |
principalInfo.certificateType | Number | 证件类型 |
principalInfo.idNumber | String | 证件号 |
bankAccounts | Object | 开户行信息 |
bankAccounts.{key}.bank | Number | 开户银行 下拉选择 |
bankAccounts.{key}.accountName | String | 账户名称 |
bankAccounts.{key}.account | String | 银行账号 |
attachments | Object[] | 附件 |
attachments.[].title | String | 附件标题 |
attachments.[].description | String | 附件说明 |
attachments.[].binaryId | String[] | 附件id |
remarks | String | 备注 |
bindingPeriod | String | 绑定期限 0,1个月、6个月、1年(12:默认)、-1:永久 |
extraProps | Object | 扩展属性 |
crBy | String | 创建者 |
upBy | String | 最后修改者 |
crDate | String | 创建时间 |
upDate | String | 最后修改时间 |
tenantId | String | 租户ID |